package com.clever.mall.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TradingRecord implements Serializable {
    /**
     * 订单
     */
    private Integer tradingRecordId;

    /**
     *
     */
    private Integer userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 交易类型 0表示卖出收入,1表示提现,2表示充值
     */
    private Integer type;

    /**
     * 交易记录的交易金额
     */
    private BigDecimal money;

    /**
     * 0表示存在，1表示删除
     */
    private Integer isDel;

    private static final long serialVersionUID = 1L;

    public Integer getTradingRecordId() {
        return tradingRecordId;
    }

    public void setTradingRecordId(Integer tradingRecordId) {
        this.tradingRecordId = tradingRecordId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}

